<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php $this->pageTitle="创建APP"; ?>
<div class="icon32" id="icon-users"><br>
</div>
<?php $arr = Yii::app()->params['helpDocument'];?>
<h2>创建APP<a target="<?php echo $arr['target']?>" href="<?php echo $arr['createApp']?>"><?php echo $arr['img']?></a>
<a class="add-new-h2"
	href="<?php echo CController::createUrl('adminApp/index') ?>">管理APP</a>
</h2>
<?php $form=$this->beginWidget('CActiveForm', array(
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<table class="form-table">
		<tr class="form-field form-required">
			<th scope="row">
    			<?php echo $form->labelEx($model,'osrRequesterName'); ?>
    			<span class="description">(必填)</span>
    		</th>
    		<td><?php echo $form->textField($model,'osrRequesterName',array('size'=>45,'maxlength'=>63)); ?></td>
		</tr>
		<tr class="form-field">
			<th scope="row">
	            <?php echo $form->labelEx($model,'osrApplicationDescr'); ?>
	            <span class="description">(可不填)</span>
    		</th>
    		<td><?php echo $form->textField($model,'osrApplicationDescr',array('size'=>45,'maxlength'=>255)); ?></td>
		</tr>
		<tr class="form-field">
			<th scope="row">
	            <?php echo $form->labelEx($model,'osrConsumerKey'); ?>
	            <span class="description">(自动生成)</span>
    		</th>
    		<td><?php echo $form->textField($model,'osrConsumerKey',array('size'=>45,'maxlength'=>45,'disabled'=>'disabled')); ?></td>
		</tr>
		<tr class="form-field">
			<th scope="row">
	            <?php echo $form->labelEx($model,'osrConsumerSecret'); ?>
	            <span class="description">(自动生成)</span>
    		</th>
    		<td><?php echo $form->textField($model,'osrConsumerSecret',array('size'=>45,'maxlength'=>45,'disabled'=>'disabled')); ?></td>
		</tr>
	</table>
	<p class="submit">
		<?php echo CHtml::submitButton('添加APP',array("class"=>"Miniyun_btn01_btn6","onmouseover"=>"this.className='Miniyun_btn01_btn6hover'","onmouseout"=>"this.className='Miniyun_btn01_btn6'")); ?>
	</p>

<?php $this->endWidget(); ?>

